Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
powturbo
on Nov 6, 2019
|
parent
|
context
|
favorite
| on:
Base64 encoding and decoding at almost the speed o...
40 GB/s in L1 cache. The TurboBase64 benchmark is more practical.
It is impossible to have the speed of a good memcpy when you're copying 33% more like in base64.
bluesign
on Nov 6, 2019
[–]
I think 40GB/s result when it is not fitting L1 cache. If you check result graph, On L1 cache fitting data memcpy is ahead with big difference, then they are almost head to head
powturbo
on Nov 6, 2019
|
parent
[–]
L1 cache is 64k for this cpu. A benchmark with large files is more realistic, because it's unlikely that the data already be in the L1 cache.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
It is impossible to have the speed of a good memcpy when you're copying 33% more like in base64.