Faster, Faster! Improving regex performance with atomic grouping, possessive quantifiers and more!

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ส.ค. 2023
  • Correction: at 27:20 it was stated that the default cache is 50. It
    actually defaults to 512 patterns.
    (Peter Lovett) Greedy, Lazy or Possessive? Improving regex performance with atomic grouping, possessive quantifiers and more!
    Regex can be a powerful fuzzy text processing tool. But large data starts to show how regex can be slow. This talk will examine some of the reasons why regex can be slow, and what can be done to improve performance.
    Many of the techniques covered are also applicable in other programming tools that use regex.
    This is not an introduction to regex talk; an understanding of basic regex, and regex in Python, is assumed.
    pretalx.com/pyconau-2023/talk...
    python, pycon, australia, programming, conference, technical, pyconline, developers, panel, sessions, libraries, frameworks, community, sysadmins, students, education, data, science
    Videos licensed as CC-BY-NC-SA 4.0
    PyCon AU is the national conference for the Python programming community, bringing together professional, student and enthusiast developers, sysadmins and operations folk, students, educators, scientists, statisticians, and many others besides, all with a love for working with Python.
    Licensed as CC BY-NC-SA - creativecommons.org/licenses/b...
    Produced by Next Day Video Australia: nextdayvideo.com.au
    Sat Aug 19 14:50:00 2023 at Hall A

ความคิดเห็น •