Blogs / Company blogs

libtorrent Blog

blog.libtorrent.org

Currently, torrent files are loaded by the torrent_info constructor. The torrent_info object essentially holds all state from the .torrent file.This post is arguing in favor of moving towards torrent_info only representing the immutable portion of torrent files. i.e. what’s in the info-section. This is primarily…

Popular posts
3
Total points
1,495
HN comments
743
Rank
#864 company

Visit blog.libtorrent.org → RSS feedOn Hacker News Jan 2014 – Sep 2020

Systems & Performance 2Software Engineering 2Open Source 1Networking & Internet 1

1

Memory cache optimizations

When optimizing memory access, and memory cache misses in particular, there are surprisingly few tools to help you. valgrind’s cachegrind tool is the closest one I’ve found. It gives you a lot of information on cache misses, but not necessarily in the form you need it.