You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Might be interesting to see whether using fst can be faster than phf and/or yield a smaller binary size. You'll probably have to build with the (compressed) contents first and then build the map using the sorted list of file paths and use (offset,len) tuples as values. Loading the map should be something like Map::from_static_slice(include_bytes!(concat!(env!("OUT_DIR"), "/index.fst"))). I've done something like this in static-filez.
The text was updated successfully, but these errors were encountered:
Might be interesting to see whether using fst can be faster than phf and/or yield a smaller binary size. You'll probably have to build with the (compressed) contents first and then build the map using the sorted list of file paths and use (offset,len) tuples as values. Loading the map should be something like
Map::from_static_slice(include_bytes!(concat!(env!("OUT_DIR"), "/index.fst")))
. I've done something like this in static-filez.The text was updated successfully, but these errors were encountered: