Comments (5)
Hi, @crbsram, thanks for reaching out! Everything depends on the complexity of your checks, but I don't see a reason why this wouldn't work with StringZilla.
How long are your rows on average?
Does your CPU support AVX-512?
from stringzilla.
Hi Ash
every line is of 3000 characters (max) and for every line i will have to scan the entire 500mil lines
and CPU is Intel Xeon Gold 6330.
Every line is delimited with special character. For every line we will have to iterate it in all 500 million in quicker way.
Henceforth the ask is is stringzilla will help us to achieve this feat by leveraging the capabilities of modern hardware.
Thanks
C.R.Bala
from stringzilla.
Yes, @crbsram! This sounds like a good case for StringZilla. I'll have to warn you that even with StringZilla 5e6 x 5e6 pairwise string operations won't be very fast. I recommend setting up a smaller benchmark first. Let me know if this works out.
What is the larger goal you are trying to achieve? Is that search?
from stringzilla.
Hi @ashvardanian,
Then let me setup a smaller bench mark with 1mil lines and 10 mil lines and provide the result.
THe larger goal is to find string similarity between two strings using trigram method
Hence we don't have choice other than iterating the entire lines in a file.
Thanks
C.R.Bala
from stringzilla.
Hi @crbsram! How is it going? Any preliminary results?
from stringzilla.
Related Issues (20)
- Missing `sz::string::shrink_to_fit` HOT 3
- Overwrite LibC symbols with `LD_PRELOAD` HOT 1
- Improve Rolling Hashes
- Avoid Python GIL in `write_to`, sorting, Levenshtein HOT 1
- Refactor Str and SplitIterator to use `sz_string_view_t`
- V4 Wishlist HOT 3
- search for string without loading entire file into memory? HOT 1
- [BUG] Instant error STATUS_ACCESS_VIOLATION on Windows with Rust lib HOT 8
- Inconsistent compiler flags with Clang HOT 1
- Quick-start instructions for C++, Rust, and Swift HOT 4
- CMake targets for the C shared library HOT 3
- Pretty-printing `Strs` in Python HOT 3
- sz_capabilities might be incorrect for AVX512 HOT 4
- [CLI] sz_split error HOT 8
- sz::string length();size() and rstrip() HOT 3
- Inline Assembly for detecting CPU features on Arm
- Doesn't build under FreeBSD 14-STABLE HOT 6
- V3 bindings for Node.js
- Standard-compliant `wc` implementation HOT 6
- Standard-compliant `split` implementation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stringzilla.