|
Meta tags:
description=Optimize _Py_hashtable_get() and _Py_hashtable_get_entry() for
pointer keys:
key_size == sizeof(void*)
hash_func == _Py_hashtable_hash_ptr
compare_func == _Py_hashtable_compare_direct
Changes:
Add get_func and get_entry_func to _Py_hashtable_t
Convert _Py_hashtable_get() and _Py_hashtable_get_entry() to static
inline functions.
Add specialized get and get entry for pointer keys.
htt????/bugs.python.org/issue40602;
Headings (most frequently used words):
for, navigation, uh, oh, bpo, 40602, optimize, _py_hashtable, pointer, keys, 20051, footer, diff, view, menu, repository, there, are, no, files, selected, viewing, filter, by, extension,
Text of the page (most frequently used words):
_py_hashtable_t (39), entry (39), size_t (32), void (31), pkey (31), key_size (30), null (21), return (21), file (19), data_size (19), alloc (19), const (19), expand (18), github (16), hash_func (16), compare_func (16), for (16), the (15), data (15), this (14), and (14), _py_hashtable_entry_t (13), key_hash (13), applied (11), sizeof (11), typedef (11), line (10), all (10), struct (10), buckets (9), _py_hashtable_get_entry (9), key (9), while (8), down (8), buckets_size (8), num_buckets (8), int (8), py_uhash_t (8), reload (8), you (7), that (7), suggestion (7), cannot (7), suggestions (7), code (7), _py_hashtable_compare_func (7), _py_hashtable_hash_func (7), assert (7), index (7), show (7), sign (7), changes (6), get_entry_func (6), _py_hashtable_hash_ptr (6), malloc (6), allocator (6), _py_hashtable_get (6), diff (6), hidden (6), characters (6), unicode (6), python (6), table (6), can (5), security (5), commit (5), free (5), _py_hashtable_allocator_t (5), number (5), open (5), pyapi_func (5), pointer (5), _py_hashtable (5), loading (5), your (5), please (4), pull (4), comments (4), _py_hashtable_new_full (4), get_func (4), entries (4), init_size (4), else (4), bidirectional (4), may (4), learn (4), about (4), view (4), there (4), files (4), vstinner (4), bpo (4), 40602 (4), optimize (4), keys (4), support (4), copilot (4), not (3), community (3), navigation (3), request (3), from (3), change (3), add (3), batch (3), single (3), _py_hashtable_get_entry_ptr (3), _py_hashtable_compare_direct (3), round_size (3), entry_read_pdata (3), entry_next (3), table_head (3), _py_hashtable_set (3), failed (3), don (3), what (3), review (3), more (3), hashtable (3), include (3), internal (3), pycore_hashtable (3), hide (3), whitespace (3), was (3), error (3), page (3), filter (3), commits (3), 20051 (3), merged (3), account (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), build (3), contact (2), status (2), privacy (2), terms (2), footer (2), one (2), viewing (2), because (2), toggle (2), hashtable_min_size (2), _py_hashtable_new (2), _py_hashtable_get_ptr (2), _py_hashtable_get_entry_generic (2), _py_hashtable_get_generic (2), memset (2), pymem_free (2), pymem_malloc (2), specialized (2), break (2), pkey2 (2), assertion (2), 108 (2), original (2), contains (2), text (2), interpreted (2), compiled (2), differently (2), than (2), appears (2), below (2), editor (2), reveals (2), desktop (2), delete (2), edit (2), 207 (2), additions (2), deletions (2), define (2), static (2), inline (2), call (2), directly (2), function (2), but (2), use (2), macro (2), _py_hashtable_get_entry_func (2), _py_hashtable_get_func (2), selected (2), apply (2), split (2), unified (2), load (2), retry (2), jump (2), nbsp (2), extension (2), 2020 (2), tree (2), issue (2), insights (2), projects (2), actions (2), repository (2), cpython (2), signed (2), with (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), business (2), fixes (2), products (2), secret (2), perform, action, time, share, personal, information, manage, cookies, docs, 2026, inc, right, now, check, back, later, queued, merge, multi, pending, reviews, has, been, marked, resolved, outdated, must, existing, order, create, valid, applying, deleted, lines, supported, only, per, subset, closed, invalid, were, made, annotations, notes, _py_hashtable_clear, 454, 439, hashtable_rehash, memcmp, _py_hashtable_entry_pkey, 352, 293, endif, read, using, debugger, know, duplicated, write, interesting, 324, 265, 251, 195, _py_hashtable_print_stats, _py_hashtable_size, 137, 136, _py_hashpointer, _py_hashtable_read_key, 128, exists, does, exist, 189, 197, 176, 182, hash, _py_slist_t, total, allocate, memory, block, forward, declaration, are, conversations, clear, filters, viewed, types, a1c7bb1, select, changed, checks, conversation, into, hashtable_get_func, master, already, clicking, agree, our, occasionally, send, related, emails, statement, service, its, maintainers, have, question, project, new, items, requests, issues, message, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, event, talks, workshops, next, partners, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, ons, trust, why, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, source, latest, improvements, across, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, development, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, work, hosting, collaboration, platform, menu, skip, content,
|