Meta tags:
Headings (most frequently used words):
blog, python, speed, matters, about, writing, fast, code, latest, posts, socketserver, with, threads, vs, uvloop, scandir, rs, and, lua, fastlogging, fastthreadpool,
Text of the page (most frequently used words):
the (12), #python (12), and (10), with (5), but (4), code (4), blog (4), more (4), was (3), slow (3), jan (3), speed (3), #matters (3), uvloop (3), this (3), fast (3), powerful (3), programming (3), learned (3), have (2), relatively (2), project (2), lot (2), logging (2), module (2), 2019 (2), great (2), has (2), because (2), 2020 (2), for (2), not (2), you (2), some (2), writing (2), languages (2), are (2), coded (2), contact (2), mistakes (2), love (2), about (2), existing, implementations, thread, pools, high, overhead, certain, situations, especially, concurrent, futures, submit, multiprocessing, pool, threadpool, apply_async, fastthreadpool, mar, 2018, when, working, bigger, which, does, determined, that, standard, pretty, decided, write, fastlogging, pure, sometimes, one, problem, lua, jul, scandir, amazing, performance, good, replacement, default, asyncio, linux, used, unfortunately, socketserver, threads, latest, posts, hope, enjoy, want, provide, tips, present, modules, snippets, programs, although, extremely, besides, famous, gil, drawback, compared, other, fortunately, lost, space, there, several, less, easy, ways, make, really, past, different, like, java, assembler, etc, view, years, ago, got, first, disliked, brackets, block, boundaries, uncommon, made, typical, beginner, mixing, spaces, tabs, time, avoid, common, how, language, fell,
Text of the page (random words):
speed matters blog about contact speed matters blog a blog about writing fast python code in the past i ve coded in a lot of different programming languages like c c java assembler etc but a view years ago i got in contact with python first i disliked it to have no brackets at the block boundaries this was because it was so uncommon to me and i made the typical beginner mistakes mixing spaces and tabs but with time i ve learned to avoid the common mistakes and i ve learned to love python the more i ve coded in python the more i ve learned how powerful this programming language is and the more i fell in love with it although python is extremely powerful it has besides the in famous gil a drawback python is relatively slow compared to other programming languages but fortunately you are not lost in space there are several more or less easy and powerful ways to make the python code really fast in this blog i want to provide some tips and present some modules and code snippets for writing fast programs in python i hope you enjoy it latest posts jan 10 2020 a socketserver with threads vs uvloop the uvloop project is great with an amazing performance and a good replacement for the default asyncio module if linux is used unfortunately uvloop is not jan 10 2020 scandir rs because speed matters jul 28 2019 python and lua python is great but pure python code sometimes has one problem it s slow jan 8 2019 fastlogging when i was working on a bigger project which does lot s of logging i determined that the standard logging module in python is pretty slow so i decided to write mar 20 2018 fastthreadpool existing implementations of thread pools have a relatively high overhead in certain situations especially apply_async in multiprocessing pool threadpool and submit in concurrent futures
|