j2rs_find_up_simple

Crates.ioj2rs_find_up_simple
lib.rsj2rs_find_up_simple
version0.0.2
sourcesrc
created_at2024-01-07 14:44:12.336291
updated_at2024-01-07 17:30:40.173473
descriptionrust version port of find_up js version
homepage
repositoryhttps://github.com/SoonIter/j2rs.git
max_upload_size
id1091786
size30,243
Soon (SoonIter)

documentation

README

j2rs_find_up_simple

crates-io

6-11x faster than lets_find_up

basic_parent_dir_benchmark/j2rs_find_up_simple
  time:   [8.8047 µs 8.8417 µs 8.8878 µs]
basic_parent_dir_benchmark/lets_find_up
  time:   [55.477 µs 55.839 µs 56.543 µs]
no_result_benchmark/j2rs_find_up_simple_no_result
  time:   [12.947 µs 13.080 µs 13.229 µs]
no_result_benchmark/lets_find_up_no_result
  time:   [527.59 µs 529.45 µs 532.20 µs]
Commit count: 0

cargo fmt