profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/ricvelozo/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Ricardo Silva Veloso ricvelozo São Paulo, Brasil https://ricardoveloso.com.br Rust • Python • Laravel • Web • Linux

luandersonn/MyFTP 39

A modern FTP client for Windows 11

ricvelozo/brids-rs 4

[Mirror] Parse and generate random CPF and CNPJ, Brazil's ID numbers, using Rust.

ricvelozo/scripts 1

[Mirror] Some useful scripts

ricvelozo/benchmarks 0

Some benchmarks of different languages

ricvelozo/cakephp-upload 0

CakePHP plugin to handle file uploading sans ridiculous

ricvelozo/gnome-shell-extension-gsconnect 0

KDE Connect implementation for Gnome Shell 3.24+

ricvelozo/gnome-shell-volume-mixer 0

GNOME Shell Extension allowing separate configuration of pulseaudio devices

ricvelozo/jFeed 0

jQuery RSS/ATOM feed parser plugin

ricvelozo/laravel 0

A PHP Framework For Web Artisans

ricvelozo/laravel-feed 0

A simple feed generator for Laravel

startedcrossterm-rs/crossterm

started time in 4 days

delete branch ricvelozo/benchmarks

delete branch : bf-rs

delete time in 8 days

push eventricvelozo/benchmarks

Ricardo Silva Veloso

commit sha 28e8e14bb419387295395e8ec8d23485fbdb2959

Rust: parse bytes like the C++ version and use `impl Trait` syntax (#363) * Rust: parse bytes like the C++ version and use `impl Trait` syntax * Replace `.into_iter().copied()` by `.iter().copied()` * Use `const` where possible

view details

push time in 8 days

PullRequestReviewEvent

Pull request review commentkostya/benchmarks

Rust: parse bytes like the C++ version and use `impl Trait` syntax

 struct Program { }  impl Program {-    fn new(code: &str) -> Self {+    fn new(code: &[u8]) -> Self {         Self {-            ops: parse(&mut code.chars()),+            ops: parse(&mut code.iter().copied()),

Passing by reference, like:

fn parse<'a>(it: &mut impl Iterator<Item = &'a u8>) -> Box<[Op]> {
    // ...
}

Made no difference in speed (mandel.b runs in ~23.4 sec in my machine).

ricvelozo

comment created time in 9 days

Pull request review commentkostya/benchmarks

Rust: parse bytes like the C++ version and use `impl Trait` syntax

 impl<'a> Printer<'a> {         }     } -    fn get_checksum(&self) -> i32 {+    const fn get_checksum(&self) -> i32 {

Yeah, currently nowhere can benefit of it.

ricvelozo

comment created time in 9 days

PullRequestReviewEvent

Pull request review commentkostya/benchmarks

Rust: parse bytes like the C++ version and use `impl Trait` syntax

 struct Program { }  impl Program {-    fn new(code: &str) -> Self {+    fn new(code: &[u8]) -> Self {         Self {-            ops: parse(&mut code.chars()),+            ops: parse(&mut code.iter().copied()),

I tried to use Vec/Iterator and it became slower by 1 sec. Copying here is cheaper.

ricvelozo

comment created time in 9 days

PullRequestReviewEvent

push eventricvelozo/benchmarks

Ricardo Silva Veloso

commit sha 651a2a643dab78681c243a4aea2afd96afc1a9b8

Use `const` where possible

view details

push time in 10 days

push eventricvelozo/benchmarks

Ricardo Silva Veloso

commit sha c072eae5d1909427da39e098d347f479ad5c7dd5

Replace `.into_iter().copied()` by `.iter().copied()`

view details

push time in 10 days

PR opened kostya/benchmarks

Rust: parse bytes like the C++ version and use `impl Trait` syntax

The C++'s std::string is encoding-agnostic.

+17 -20

0 comment

1 changed file

pr created time in 10 days

create barnchricvelozo/benchmarks

branch : bf-rs

created branch time in 10 days

push eventricvelozo/benchmarks

Radek Szymanski

commit sha 0dd3e06098485980734c3f7549ca9e08e4a1c266

Add Zig base64 test (#361) * Add Zig base64 test Signed-off-by: Radek Szymanski <radszy@pm.me> * Encode/decode into newly allocated buffer Signed-off-by: Radek Szymanski <radszy@pm.me>

view details

Alexander Slesarev

commit sha 2e61f1842ca33cca93cb2b819b50a2b4cae7963b

Zig base64 test results have been added. (#362)

view details

push time in 10 days

push eventricvelozo/benchmarks

Alexander Slesarev

commit sha 4166656a32ba80a59f351e5e1a00d42ce838fb05

Scala 3 has been introduced. (#341) As DSL JSON doesn't support Scala 3 due to TypeTags usage (which have been removed), it's been dropped and replaced by uPickle test.

view details

Alexander Slesarev

commit sha 82681bc8cc6fd0a640307901e80be12e84df3ddf

Primes tests in Ruby have been added. (#343)

view details

Alexander Slesarev

commit sha ad58cfc848efd40e221adde4c95b7f03ea6c64bf

Maintenance update Jul-7-2021. (#344)

view details

Alexander Slesarev

commit sha 05347feb76666ed0eafe8f91f5b316143c83b3e7

V version is reported with git commit hash now. (#346)

view details

Radek Szymanski

commit sha a6a3dadc73fe0021f1553c6284b88732e3516d03

Improve C++ primes test (#348) Using map container and make_shared gives noticeable performance boost. Also prefer [] operator rather than at(), as it has no bounds checking. The rest of the changes just makes it more C++'y. Signed-off-by: Radek Szymanski <radszy@pm.me>

view details

Radek Szymanski

commit sha 7202e4930207d6647529ef04de0888a380e6331f

Add Zig primes test (#347) * Add Zig primes test This also updates docker setup and the surrounding scripts. Signed-off-by: Radek Szymanski <radszy@pm.me> * Address review comments Remove --single-threaded option and use Zig's native networking stack. Signed-off-by: Radek Szymanski <radszy@pm.me>

view details

Alexander Slesarev

commit sha 8e34551be0673c53ec8d146f9adba806d77e1871

Updated Primes results. (#349)

view details

lemon37564

commit sha f91942139d7f358e1e87e29011f9f87588537fa5

simplify bf.go code (#354)

view details

Radek Szymanski

commit sha cdae85459babe17b2989c110519c63673ce57373

Add Zig json test (#353) Signed-off-by: Radek Szymanski <radszy@pm.me>

view details

Radek Szymanski

commit sha 74495547107cdd2bfa0fa64fb7adb7a23949f220

Add Zig matmul test (#352) Signed-off-by: Radek Szymanski <radszy@pm.me>

view details

Radek Szymanski

commit sha d1e19e440824cc7d20362ee117f6c8d4a107198a

Improve C++ brainfuck test (#351) * Improve C++ brainfuck test - Use 'if' instead of 'while' in move function. That condition cannot be true more than once. This is also the same as in Rust code. - Add constness where possible. - Initialize all fields in initialization lists (suggested by -Weffc++) - Remove unused header file - Fix typos This change makes up for around 5% improvement in brainfuck mandel. Signed-off-by: Radek Szymanski <radszy@pm.me> * Address comments from review Signed-off-by: Radek Szymanski <radszy@pm.me>

view details

Radek Szymanski

commit sha 984116b54e259a4ee04a1cc3f28378421bd62e71

Add Zig Brainfuck test (#350) * Add Zig Brainfuck test Signed-off-by: Radek Szymanski <radszy@pm.me> * Init stdout only when not quiet Signed-off-by: Radek Szymanski <radszy@pm.me>

view details

Darrell Wright

commit sha 66446c6e69f1dc4d0650582d53ad26937281b953

Allow test.zig to run on any POSIX system (#355) * Allow test.zig to run on any POSIX system std.os.linux only works on linux. By importing unistd.h and calling getpid( ) from it, it should work on any POSIX system. Tested on MacOS 11.5.2 and Ubuntu 20.04 * Using unistd getpid for zig matmul and primes * Added unistd.h import to bf

view details

Radek Szymanski

commit sha 11db5637647115040b96bfdfa33fe34e77ef2d2e

Fix undefined behavior in Zig tests (#356) With current build setting (ReleaseFast), the notify function will ignore error when there's no server set up. However, it's relying on undefined behavior to achieve that, whereas with different build setting it would panic, which is not a desired behavior. This change makes notify function safely ignore error when connecting to the server, regardless of build settings, making sure that the test will continue its execution. Signed-off-by: Radek Szymanski <radszy@pm.me>

view details

Radek Szymanski

commit sha 4910e26785e5e7806107328df2140955a042596f

Clean up zig-cache files (#357) Update makefiles to remove zig-cache directory and add an entry for it in .gitignore. Signed-off-by: Radek Szymanski <radszy@pm.me>

view details

Alexander Slesarev

commit sha 2bf33075d1f37f933ee3df83a10a3b8ff51b635e

Added Zig results. (#358)

view details

Alexander Slesarev

commit sha 7b2a8318f2eee4721ae7061ddea2b1e97f804dc2

Maintenance update 2021-09-09 (#359)

view details

Alexander Slesarev

commit sha f8513deb5a4c437227131c99ea6c0486c4d38de0

Updated V code to use proper syntax to create multidimensional arrays. (#360)

view details

push time in 12 days

startedolive-editor/olive

started time in 14 days

startedswc-project/swc

started time in a month

startedubuntu/gnome-shell-extension-appindicator

started time in 3 months