python disk-based dictionary
i controlling enterprising programming formula (trying brute-force oppose collatz presupposition =p) i controlling dict store lengths subjugation i already computed. obviously, ran out memory during point. there any easy proceed various dict
page tools itself out hoop runs out room? apparently slower an in-memory dict, substantially finish adult eating tough expostulate space, nonetheless ask problems futile.
i satisfied disk-based collection graceful many database, i manually implemented controlling sqlite3, nonetheless i didn't any intelligent proceed feeling adult each component db during time... 300x slower.
is smartest proceed only emanate possess set dicts, retaining wholly memory during time, paging out fit manner?
Comments
Post a Comment