home.social

#hashtable — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #hashtable, aggregated by home.social.

fetched live
  1. Почему одна вставка в PHP‑массив может стоить 100 мс

    На примере PHP хорошо видно, как внутренние оптимизации динамически типизированного языка развиваются и усложняются. PHP‑массив выглядит универсальным, но внутри него скрыто множество оптимизаций и ветвлений, в их числе оптимизации для хранения и работы с массивами: Packed List & HashTable. Взаимодействие между ними и copy‑on‑write дают иногда неожиданное и непрозрачное поведение с точки зрения PHP программиста. Копнуть глубже

    habr.com/ru/articles/1058576/

    #php #массивы #производительность_PHP #оптимизация_памяти #HashTable #packed_array #copyonwrite #array_merge #внутренности_PHP #хештаблица

  2. @wyatt Now I'm intrigued. Does your university's data structures class cover implementing a hash table from scratch? Say one that maps either fixed-length or zero-terminated character strings to 32-bit integers. I ask because one thing that the ISO C standard library lacks is any sort of map, dictionary, or associative array data structure. It's not like a dynamic array, where a thin wrapper around realloc() is adequate. (hsearch() is non-ISO and allows only one hash table per process.)

    #HashTable #CLanguage #DataStructures #DynamicArray

  3. @wyatt Now I'm intrigued. Does your university's data structures class cover implementing a hash table from scratch? Say one that maps either fixed-length or zero-terminated character strings to 32-bit integers. I ask because one thing that the ISO C standard library lacks is any sort of map, dictionary, or associative array data structure. It's not like a dynamic array, where a thin wrapper around realloc() is adequate. (hsearch() is non-ISO and allows only one hash table per process.)

    #HashTable #CLanguage #DataStructures #DynamicArray

  4. 🚀 DOMINANDO DICIONÁRIOS PYTHON: O SEGREDO O(1) PARA DSA! 🐍

    Cansado de buscas lentas em listas? Descubra como dict vira hash table turbinada: hashing interno, colisões resolvidas, O(1) em inserção/busca/deleção + exemplos reais pra grafos, caches e LeetCode!

    Desde Python 3.7: ordem garantida! 💥

    👉 Leia o guia técnico completo:
    bolha.blog/riverfount/dominand

    #Python #DSA #DataStructures #HashTable #Programação #DevOps

  5. 🚀 DOMINANDO DICIONÁRIOS PYTHON: O SEGREDO O(1) PARA DSA! 🐍

    Cansado de buscas lentas em listas? Descubra como dict vira hash table turbinada: hashing interno, colisões resolvidas, O(1) em inserção/busca/deleção + exemplos reais pra grafos, caches e LeetCode!

    Desde Python 3.7: ordem garantida! 💥

    👉 Leia o guia técnico completo:
    bolha.blog/riverfount/dominand

    #Python #DSA #DataStructures #HashTable #Programação #DevOps

  6. #Undergraduate Disproves 40-Year-Old Conjecture, Invents New Kind of #HashTable
    A young computer scientist and two colleagues show that searches within data structures called #hashtables can be much faster than previously deemed possible.
    wired.com/story/undergraduate-
    archive.ph/2Tl3q

  7. #Undergraduate Disproves 40-Year-Old Conjecture, Invents New Kind of #HashTable
    A young computer scientist and two colleagues show that searches within data structures called #hashtables can be much faster than previously deemed possible.
    wired.com/story/undergraduate-
    archive.ph/2Tl3q

  8. How to handle a hash table?

    “You didn’t just come up with a cool hash table ... You’ve actually completely wiped out a 40-year-old conjecture!”

    #research #HashTable

    quantamagazine.org/undergradua

  9. How to handle a hash table?

    “You didn’t just come up with a cool hash table ... You’ve actually completely wiped out a 40-year-old conjecture!”

    #research #HashTable

    quantamagazine.org/undergradua

  10. Sometimes a fresh perspective leads to revolutionary insights 💚. Without intending to Andrew Krapivin, as an undergraduate student 👨‍🎓, turned around the 40 years old paradidigm on #hashtable lookups 🗄️!

    After the #DeepSeek results, another great example that #innovation does not always come from business cases or throwing billions 💰 and energy resources into the game. Sometimes it simply comes from curiosity and a different way of looking at a challenge!

    quantamagazine.org/undergradua

  11. Sometimes a fresh perspective leads to revolutionary insights 💚. Without intending to Andrew Krapivin, as an undergraduate student 👨‍🎓, turned around the 40 years old paradidigm on #hashtable lookups 🗄️!

    After the #DeepSeek results, another great example that #innovation does not always come from business cases or throwing billions 💰 and energy resources into the game. Sometimes it simply comes from curiosity and a different way of looking at a challenge!

    quantamagazine.org/undergradua

  12. Designing A Fast Concurrent Hash Table, ibraheem.ca/posts/designing-pa.

    The author presents a novel Rust library called papaya, that is a (really) fast concurrent hash table. The article explains the inspirations, the differences with other libraries, the new techniques etc. A really instructive article.

  13. Заглядываем под капот FrozenDictionary: насколько он быстрее Dictionary и почему

    С релизом .NET 8 в арсенале C# разработчиков появилась новая коллекция – FrozenDictionary. Особенность этого словаря в том, что он неизменяемый, но при этом обеспечивает более быстрое чтение по сравнению с обычным Dictionary . Я неспроста разбил результаты на обложке по типам – используемые во FrozenDictionary алгоритмы сильно зависят от типа ключа, размера словаря или даже, например, количества строковых ключей одинаковой длины. В этой статье подробно разберем, насколько FrozenDictionary быстрее и почему. Заглянуть под капот

    habr.com/ru/articles/837926/

    #c# #net #benchmark #dictionary #hashtable #algorithms

  14. Новые коллекции в Android

    В 2018 году в androidx появился новый пакет collection, который содержал несколько специфичных структур данных, переписанных на Kotlin, таких как LongSparseArray , SimpleArrayMap и SparseArrayCompat . На тот период Kotlin только начинал набирать обороты в Android разработке и добавление новых более эффективных коллекций, полностью написанных на нём было одним из шагов по внедрению языка. С тех пор прошло более 6 лет и в январе текущего года был выпущен новый релиз с мощной заменой HashMap , о которой я расскажу чуть позже...

    habr.com/ru/articles/811415/

    #kotlin #android #hash #hashmap #hashtable #list #structured_data #collection #collections #algorithms