@SINLINEAMXnoticias · Post #31764 · 26.04.2026 г., 21:48
Las cifras hablan por sí solas 🤷🏻 🔴#Harfuch es la prueba de que no hace falta la injerencia extranjera para combatir al crimen organizado 🚨🚔👊🏻
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #32 · 7 фев.
Скорее всего уже слышали, что складывать строки через + это плохая практика. Падение производительности, и всё такое. Без лишних слов, давайте измерять: from timeit import timeit def t1(): # складываем 10 строк через + из переменной t = 'text' for _ in range(1000): s = t + t + t + t + t + t + t + t + t def t2(): # склеиваем список строк через метод join arr = ['text'] * 10 for _ in range(1000): s = ''.join(arr) def t3(): # складываем через + но не из переменной а непосредственно инлайн объекты for _ in range(1000): s = 'text' + 'text' + 'text' + ... # всего 10 раз Теперь каждую строку склейки запустим по 10М раз >>> timeit(t1, number=10000) 0.21951690399964718 >>> timeit(t2, number=10000) 1.4978306379998685 >>> timeit(t3, number=10000) 0.2213820789993406 Хм, а нам говорили что через "+" это плохо и медленно ))) 😁 Тут стоит учитывать, что речь идёт о склейке множества длинных строк. Давайте изменим условия: def t4(): t = 'text'*100 for _ in range(1000): s = t + t + t + t + t + t + t + t + t def t5(): arr = ['text'*100] * 10 for _ in range(1000): s = ''.join(arr) def t6(): for _ in range(1000): s = 'text'*100 + 'text'*100 + ... # всего 10 раз >>> timeit(t4, number=10000) 12.795130728000004 >>> timeit(t5, number=10000) 2.642637542999182 >>> timeit(t6, number=10000) 0.2184546610005782 Вот, уже другой разговор, сразу видна разница, в среднем в 6 раз. Но погодите, почему последний тест t6() по скорости такой же как и t3()? Ведь строки теперь в 100 раз длиннее! Это вопросы оптимизации кода, какие простые изменения ускоряют или замедляют выполнение программы. Мы столкнулись с примером обхода обращения к переменной. Например, именно так работает директива #define в С++, во время компиляции подставляя значение переменной вместо ссылки на неё. В Python это тоже работает, но часто ли вы сможете встретить такой способ работы со строками? К сожалению, способ почти только теоретический. В целом, тесты показали то, что мы хотели. Делаем выводы самостоятельно. Полный листинг 🌍 #tricks
Пребарај: #harfuch
@SINLINEAMXnoticias · Post #31764 · 26.04.2026 г., 21:48
Las cifras hablan por sí solas 🤷🏻 🔴#Harfuch es la prueba de que no hace falta la injerencia extranjera para combatir al crimen organizado 🚨🚔👊🏻
Hashtags
@SINLINEAMXnoticias · Post #31715 · 24.04.2026 г., 18:17
¡No bajará la guardia! ☝🏻 🔴#Harfuch aseguró que los resultados en seguridad son producto de una estrategia sostenida, coordina y con presencia territorial 🚔🕊️ https://revistaelpolitico.com/nacional/harfuch-celebra-caida-historica-percepcion-inseguridad/
Hashtags
@SINLINEAMXnoticias · Post #31666 · 22.04.2026 г., 23:41
En México se respeta la soberanía ☝🏻 🔴#Harfuch resaltó que hay cooperación con #EU, pero sus agentes nunca han participado en acciones en campo 🪖🇺🇸🚨 https://revistaelpolitico.com/nacional/harfuch-niega-operacion-en-campo-agentes-eu-mexico/
@SINLINEAMXnoticias · Post #31814 · 28.04.2026 г., 21:03
¿Se hace que la virgen le habla? 🤔 🔴#Harfuch reveló que #MaruCampos le dijo que no estaba enterada de una operación con agentes estadounidenses en #Chihuahua🙄 | ¿Qué opinas? 👇🏻 https://revistaelpolitico.com/estados/maru-campos-no-sabia-agentes-cia-harfuch/
Hashtags
@SINLINEAMXnoticias · Post #31659 · 22.04.2026 г., 21:06
Duro golpe 🔥 🔴#Harfuch informó que la poderosa #RedDeHuachicol sacaba hasta 1.5 millones de litros por semana ⛽💸🛢️ https://revistaelpolitico.com/estados/desmantelan-red-de-huachicol-operaba-hidalgo-y-edomex/
Hashtags
@SINLINEAMXnoticias · Post #31275 · 05.04.2026 г., 16:40
¿Será que sí? 😅 🔴#SandraCuevas que su admiración no solo es para #Sheinbaum sino que también para #Harfuch👏🏼🤝 https://sinlineamx.com/sandra-cuevas-revela-por-que-ahora-apoya-sheinbaum/
Hashtags
@SINLINEAMXnoticias · Post #31720 · 24.04.2026 г., 21:00
¿Y si mejor responde con claridad? 🙄 🔴 Luego de su reunión con #Harfuch, #MaruCampos al fin dio unas palabras sobre el #CasoCIA… pero no convenció a NADIE 📄👀 https://sinlineamx.com/maru-c
Hashtags
@SINLINEAMXnoticias · Post #31624 · 21.04.2026 г., 17:43
¡No puede volver a ocurrir! ☝🏻 🔴#Harfuch señaló que la seguridad del #Mundial2026 está garantizada y detalló las acciones tras el tiroteo en #Teotihuacán📹👀 https://revistaelpolitico.com/nacional/harfuch-anuncia-refuerzo-seguridad-zonas-arqueologicas/
Hashtags
@SINLINEAMXnoticias · Post #32024 · 06.05.2026 г., 16:39
¡Atención! 🤚🏻🚨 🔴#Harfuch informó que un agresor perdió la vida y dos elementos de la #SSPC resultaron heridos durante la captura del líder de #LosLinos📸⚠️ https://revistaelpolitico.com/nacional/justicia/detienen-don-ramon-lider-los-linos-morelos/
@SINLINEAMXnoticias · Post #31574 · 18.04.2026 г., 21:11
Golpazo internacional al crimen 👊🏻💥 🔴#Harfuch (@OHarfuch) confirmó la detención del húngaro #DánielTakács en #QuintanaRoo🚨 | Así fue el operativo para capturarlo 👇🏻 https://revistaelpolitico.com/nacional/cae-daniel-takacs-10-mas-buscados-europa
@SINLINEAMXnoticias · Post #31743 · 25.04.2026 г., 22:44
¡La eficiencia en una sola imagen! 👀 ‼️Mientras unos trabajan sin descanso y llevan 2,330 laboratorios desmantelados con inteligencia propia, otros necesitan que la CIA los lleve de la mano para encontrar UNO solo. 🕵️♂️🇺🇸 Hay niveles de trabajo... y luego está lo de Chihuahua. #SinLínea#SeguridadMéxico#2330vs1#MaruCampos#Harfuch