Jeong YunWon
e7064049d1
Gitter -> Discord
2022-11-21 20:58:26 +09:00
Jeong YunWon
42b304ae0a
Merge pull request #4283 from charliermarsh/charlie/perf
...
Implement some minor performance optimizations
2022-11-21 14:18:32 +09:00
Charlie Marsh
3a6729eedd
Use match
2022-11-20 23:41:52 -05:00
Charlie Marsh
ebeb0904d4
Use rustc-hash
2022-11-20 15:30:19 -05:00
Charlie Marsh
3de87f9828
Implement some minor performance optimizations
2022-11-20 13:33:20 -05:00
Jim Fasarakis-Hilliard
b9c62ed891
Merge pull request #4281 from MisileLab/main
...
change itertools::zip to std::iter::zip because deprecated
2022-11-19 16:11:50 +02:00
misilelaboratory
270b2ba98f
fix: cargo fmt
2022-11-19 21:54:17 +09:00
Bongjun Jang
e72f01773d
Refactor lexer struct ( #4257 )
2022-11-19 21:43:34 +09:00
misilelaboratory
80404d3bd5
fix: deprecated function
2022-11-19 12:31:59 +09:00
Jeong YunWon
17944d3eae
Merge pull request #4272 from oow214/iter_combi_reduce
...
Add `combinations.__reduce__ `
2022-11-19 01:05:33 +09:00
Jeong YunWon
56b97fb500
Merge pull request #4278 from evilpie/jit-none
...
JIT: add internal support for None
2022-11-18 21:34:56 +09:00
Jim Fasarakis-Hilliard
21f6c598a4
Merge pull request #4277 from discord9/update_readme
...
doc: add greptimedb's use case to README
2022-11-17 23:32:58 +02:00
Tom Schuster
9e3f864410
JIT: add internal support for None
2022-11-17 11:02:16 +01:00
discord9
87fd65553f
doc: add usecase
2022-11-17 12:52:29 +08:00
Jim Fasarakis-Hilliard
ab47293c0b
Merge pull request #4275 from evilpie/general-unary-not
...
JIT: Use boolean_val helper for unary not.
2022-11-14 01:35:01 +02:00
Tom Schuster
8f5ae4bd00
Use boolean_val helper for unary not.
2022-11-13 21:41:17 +01:00
Jim Fasarakis-Hilliard
eb337e564f
Merge pull request #4273 from discord9/fix_dict
...
Allow retry if `as_mut` fail when insert Dict
2022-11-13 09:57:19 +02:00
Discord9
6a66ae20b5
refactor: use let-else
2022-11-12 20:39:20 +08:00
Discord9
4b92ff5fff
log: remove warning
2022-11-12 20:12:40 +08:00
Kim, YeonWoo
dd93ec3c41
Add combinations.__reduce__
2022-11-11 16:41:20 +09:00
seryoungshim17
5608808d0f
Add itertool.combinations.__reduce__ method
...
Add result in struct PyItertoolsCombinations
2022-11-11 16:33:41 +09:00
Jim Fasarakis-Hilliard
cac99185f5
Merge pull request #4274 from youknowone/let-else
...
Apply let-else statements
2022-11-10 12:07:03 +02:00
Jeong YunWon
ff605a6cf1
Occasional README update for minimal rust version requirements
2022-11-10 15:41:21 +09:00
Jeong YunWon
9b109962a6
no return
2022-11-10 15:39:57 +09:00
Jeong YunWon
499b34cee0
Apply let-else statements
2022-11-10 15:39:31 +09:00
Discord9
d4d50a339d
feat: allow retry if as_mut fail
2022-11-10 10:39:41 +08:00
Jeong YunWon
1a92399349
Merge pull request #4263 from evilpie/jitvalue
...
Make JitValue an enum
2022-11-09 13:35:16 +09:00
Tom Schuster
634aca05a0
Make JitValue an enum
...
The duplication with JitType is a bit unfortunate, but this is a big
ergonomics improvement when working on the compiler itself.
This will also allows us to define types that are internal to the
compiler and shouldn't leak to other code via the JitType
2022-11-08 14:17:32 +01:00
Jeong YunWon
5b5abe25d9
Merge pull request #4269 from afonso360/jit-more-ops
...
Implement a few more ops in the JIT
2022-11-08 21:53:39 +09:00
Jim Fasarakis-Hilliard
27bf82a225
Merge pull request #4266 from charliermarsh/charlie/comments
...
Implement Tok::Comment
2022-11-07 23:20:15 +02:00
Jim Fasarakis-Hilliard
bbe7c1f35b
Merge pull request #4261 from charliermarsh/charlie/comparator
...
Set comparator start location to beginning of comparison
2022-11-07 21:04:58 +02:00
Charlie Marsh
ba4beb56c5
Set comparator start location to beginning of comparison
2022-11-07 12:24:14 -05:00
Charlie Marsh
978829f263
Implement Tok::Comment
2022-11-07 10:33:55 -05:00
Afonso Bordado
5705ff7a86
Implement a few more ops in the JIT
2022-11-06 10:31:01 +00:00
Jeong YunWon
9175081d47
Merge pull request #4254 from qingshi163/tomllib
...
Import tomllib from cpython
2022-11-06 10:58:41 +09:00
Kangzhi Shi
92e027af34
import tomllib from cpython3.11
2022-11-05 21:36:25 +02:00
Jim Fasarakis-Hilliard
865ad00031
Merge pull request #4258 from afonso360/jit-float-cmp
...
Implement float comparisions in JIT
2022-11-05 15:13:41 +02:00
Afonso Bordado
ab8faf39a7
Implement float comparisions in JIT
2022-11-05 10:08:43 +00:00
Jeong YunWon
abc623edc9
Merge pull request #4259 from DimitrisJim/fixes
...
Fix errors from update to rust 1.65
2022-11-05 17:26:02 +09:00
Dimitris Fasarakis Hilliard
9d303a21d6
Fix errors from update to rust 1.65
2022-11-04 20:57:27 +02:00
Jeong YunWon
a3664dba4a
Merge pull request #4189 from DarkGuySM/main
...
Update README.md
2022-11-04 22:16:44 +09:00
Jim Fasarakis-Hilliard
77b821a194
Merge pull request #4253 from oow214/qualname_type
...
Fix `repr` for union
2022-10-29 15:36:45 +03:00
Kim, YeonWoo
cc809f3237
Fix repr for union
2022-10-29 15:52:00 +09:00
Jeong YunWon
835771b7ea
Merge pull request #4252 from devonhollowood/accurate-hypot
...
Implement a more accurate hypot()
2022-10-29 00:09:15 +09:00
Devon Hollowood
96bf177acc
Respond to reviewer comments
2022-10-27 18:27:06 -07:00
Devon Hollowood and Jeong YunWon
fa50056fce
Apply suggestions from code review
...
Co-authored-by: Jeong YunWon <69878+youknowone@users.noreply.github.com >
2022-10-27 18:20:50 -07:00
Devon Hollowood
3739372d43
Implement more accurate hypot()
...
This uses the improved-accuracy hypotenuse algorithm from Borges 2019,
see https://arxiv.org/abs/1904.09481 .
2022-10-26 23:44:13 -07:00
Jeong YunWon
426f9f6359
Merge pull request #4231 from dvermd/improve_string_fstring_coverage
...
Improve string fstring coverage
2022-10-27 13:55:57 +09:00
Jeong YunWon
8ac45b6fb9
Merge pull request #4251 from devonhollowood/cleanup
...
Clean up a few obsolete TODOs in test_math.py
2022-10-27 13:41:35 +09:00
Devon Hollowood
dd5da766ab
Clean up a few obsolete TODOs in test_math.py
...
It looks like these were accidentally left in the codebase after #2773 .
2022-10-26 13:59:00 -07:00