Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #100248

Re: How to use internal python c funtions, from python code

From srinivas devaki <mr.eightnoteight@gmail.com>
Newsgroups comp.lang.python
Subject Re: How to use internal python c funtions, from python code
Date 2015-12-11 07:35 +0530
Message-ID <mailman.124.1449799554.12405.python-list@python.org> (permalink)
References <CACs7g=DG2Ns8EER5iULogGmGLcny6_JyctYF_W_OdNZtjn3UCQ@mail.gmail.com> <CAPTjJmqFh8vkHXy1VYdhQvCviBRQRU2jw3aJDm688Wuicp=Wnw@mail.gmail.com>

Show all headers | View raw


Thank you Chris,
later I  decided that this would be cheating  and I have to think about
another algorithmic approach.

most of the competitive programming platforms provide python with a time
limit of 5 times of c/c++ time limit. but in many cases like if the
algorithms are recursive(like segment trees etc) that 5 factor is just not
enough.

but still I think it would be cool to be able to access internal c
functions without any fuss. I can use such feature with heapq too(sift
operations),

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: How to use internal python c funtions, from python code srinivas devaki <mr.eightnoteight@gmail.com> - 2015-12-11 07:35 +0530

csiph-web