Skip to content

Instantly share code, notes, and snippets.

View synopse's full-sized avatar
🏠
Working from home

ab synopse

🏠
Working from home
View GitHub Profile
#141 iso2022_kr (cp=50225) #143 iso2022_kr (cp=50225) #145 !] FD@L=c(Python)@: 9h?l1b =10m, 0-7BGQ GA7N1W7!9V >p>n@T4O4Y. FD@L=c@:
H?@2@{@N 0m<vAX 5%@LEM 18A6?M 0#4\GOAv88 H?@2@{@N 04C<AvGbGA7N1W7!9V@;
Av?xGU4O4Y. FD@L=c@G ?l>F(iPd:)GQ 9.9}0z 5?@{ E8@LGN, 1W8.0m @NEMGA8.FC
H/0f@: FD@L=c@; =:E)83FC0z ?)7/ :P>_?!<-?M 4k:N:P@G GC7'F{?!<-@G :|8%
>VGC8.DI@L<G 039_@; GR <v @V4B @L;s@{@N >p>n7N 885i>nA]4O4Y.
!YC90!3!: 3/>F6s >1~ E-! 1]>x@L @|4O4Y. 1W710E 4Y.
<>◎ 파이썬(Python)은 배우기 쉽고, 강력한 프로그래밍 언어입니다. 파이썬은
효율적인 고수준 데이터 구조와 간단하지만 효율적인 객체지향프로그래밍을
지원합니다. 파이썬의 우아(優雅)한 문법과 동적 타이핑, 그리고 인터프리팅
mORMot2 Regression Tests
--------------------------
1. Core units
1.1. Core base:
- Records: 893 assertions passed 273us
- TSynList: 3,007 assertions passed 74us
@synopse
synopse / gist:b4181267aa660576387a656811203928
Created December 11, 2024 20:44
some bloom filter unit
{
This file is part of texrex.
Maintained by Roland Schäfer.
http://texrex.sourceforge.net/
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
@synopse
synopse / gist:320706b13db7e8773a9b5c4429c41733
Created October 16, 2024 07:05
lang-cmp example result vs. go version Ubuntu, Intel Core i5
Real metal machine result: Ubuntu, Intel Core i5-1155G7 with 16G RAM
mORMot 2 | Go Lang
parsed 1994466 stop times in 490.02ms | parsed 1994466 stop times in 1.216678628s
parsed 81771 trips in 26.14ms | parsed 81771 trips in 30.772269ms
-----------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------
data_received..................: 33 GB 975 MB/s | data_received..................: 27 GB 850 MB/s
data_sent......................: 3.2 MB 95 kB/ss | data_sent..........
@synopse
synopse / gist:7e32041f49468adf2479929e88a2ac6a
Created October 16, 2024 07:04
lang-cmp example result vs. go version Windows WSL(Ubuntu)
Windows WSL(Ubuntu)
mORMot 2 | Go Lang
parsed 1994466 stop times in 780ms | parsed 1994466 stop times in 4.928661709s
parsed 81771 trips in 58.65ms | parsed 81771 trips in 340.73976ms
-----------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------
data_received..................: 38 GB 1.2 GB/s | data_received..................: 83 GB 2.7 GB/s
data_sent......................: 3.7 MB 115 kB/s | data_sent......................: 7.1 MB 231 kB/s
http_req_blocked...
@synopse
synopse / gist:111bdaffee2260867339bb1dacbce84b
Created October 16, 2024 07:02
lang-cmp example result vs. go version Intel(R) Core(TM) Ultra 9 185H
mORMot 2 | Go Lang
parsed 1994466 stop times in 471.83ms | parsed 1994466 stop times in 921.8554ms
parsed 81771 trips in 23.53ms | parsed 81771 trips in 26.0719ms
-----------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------
data_received..................: 33 GB 1.0 GB/s | data_received..................: 63 GB 2.0 GB/s
data_sent......................: 3.3 MB 102 kB/s | data_sent......................: 5.5 MB 171 kB/s
http_req_blocked...............: avg=12.46µs
@synopse
synopse / unit recursive.api
Created October 2, 2024 14:30
unit recursive.api
unit recursive.api;
{$I mormot.defines.inc}
interface
{
--------------------------------------------------------------------
TEST DATA API client as TRecursiveClient class
@synopse
synopse / gist:fe1ba20846ac7fab6c800be910a4e75c
Created September 29, 2024 17:56
allanbrrj HTTPS server
unit servidor.http;
interface
uses
Classes,
SysUtils,
{$IFDEF HTTPMORMOT2}
mormot.core.os,
unit auth.api;
{$I mormot.defines.inc}
interface
{
--------------------------------------------------------------------
AUTHENTIQ API client as TAuthClient class
unit ultravisor.api;
{$I mormot.defines.inc}
interface
{
--------------------------------------------------------------------
ULTRAVISOR API client as TUltravisorClient class