Giter Site home page Giter Site logo

devassign's Introduction

header

๐Ÿ”ฅ Tech Stack ๐Ÿ”ฅ

ย 
ย  ย  ย 
ย  ย 
ย  ย  ย 


๐Ÿ™Œ Social Link ๐Ÿ™Œ

ย  ย 


Velog's GitHub stats

๐Ÿ† Git Activeness ๐Ÿ†


Gnar's github stats Gnar's github stats

devassign's People

Contributors

im-gnar avatar

Watchers

 avatar  avatar

devassign's Issues

PyShorteners vs Base62 Encoding vs token_urlsafe ์„ฑ๋Šฅ ๋น„๊ต

๊ตฌํ˜„ํ•œ Base62 Encoding๊ณผ secrets ๋ชจ๋“ˆ์˜ token_urlsafe , ๊ทธ๋ฆฌ๊ณ  ์‚ฌ์šฉํ•˜์ง€๋Š” ์•Š์•˜์ง€๋งŒ pyshortners ๋ชจ๋“ˆ์˜ ์‹œ๊ฐ„ ํšจ์œจ์„ ์ธก์ •ํ•ด๋ณด์•˜์Šต๋‹ˆ๋‹ค.

  • ํ…Œ์ŠคํŠธ์ผ€์ด์Šค: 5๋งŒ๊ฑด, 50๋งŒ๊ฑด, 500๋งŒ๊ฑด
  • ์ถ”๊ฐ€ ๋ณ€๋™์‚ฌํ•ญ: secrets์˜ token_urlsafe()์˜ ์ธ์ž๋กœ ๋“ค์–ด๊ฐ€๋Š” ๋ฐ”์ดํŠธ๋ฅผ 1, randomint(1,6), 6

๋“ฑ์— ๋”ฐ๋ผ ํ…Œ์ŠคํŠธํ•ด๋ณธ ๊ฒฐ๊ณผ Base62 Encoding์ด secrets ๋ณด๋‹ค ๋ชจ๋“ ์ผ€์ด์Šค์—์„œ ์•ฝ 3๋ฐฐ ๋น ๋ฅธ ๊ฒฐ๊ณผ๋ฅผ ๋ƒˆ์Šต๋‹ˆ๋‹ค.
pyshortners์€ 1๊ฑด๋งŒ ์ƒ์„ฑํ•˜๋Š”๋ฐ๋„ ์•ฝ 0.4์ดˆ์˜ ์‹œ๊ฐ„์ด ์†Œ์š”๋˜์–ด ์œ„ ํ…Œ์ŠคํŠธ์—์„œ ์ œ์™ธํ–ˆ์Šต๋‹ˆ๋‹ค.
์•„๋ž˜ ๊ฒฐ๊ณผ๋Š” 50๋งŒ๊ฑด์— ๋Œ€ํ•œ ๊ฐ๊ฐ์˜ ์‹คํ–‰์‹œ๊ฐ„์„ ์ธก์ •ํ•œ ๊ฒฐ๊ณผ์ž…๋‹ˆ๋‹ค.

# 50๋งŒ๊ฑด
BASE62 time : 0.5082578659057617
secrets time : 1.4418411254882812
# 1๊ฑด
pyshorturl time : 0.4322826862335205

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.