steloflute

  • 홈
  • 태그
  • 미디어로그
  • 방명록
  • My Computer Programs
  • All

c 3

Clojure 프로그램 최적화

요즘 뜨고 있는 Clojure 프로그래밍 언어. 하지만 Clojure 프로그램은 대개 느리다. Clojure 프로그램 최적화 기법이다. Project Euler Problem 10을 예제로 사용한다. [코드 시작] (ns Euler.core (:gen-class)) (set! *warn-on-reflection* true) (defn prime? [n] (loop [i 2] (if ( 10배 향상 (problem10b)loop를 doseq에서 일반 recur로 바꾸었다. doseq은 range로 만들어진 시퀀스를 순회하기 때문에.. 중복 코드가 있어서 매크로를 작성하였다. (C의 for 문 흉내내기) (defmacro loopwhile [init-symbol init whilep step & body] ..

Programming 2012.12.29

C preprocessor tricks

http://www.antoarts.com/c-preprocessor-tricks/ C preprocessor tricks June 19, 2012 The C preprocessor is a heritage from an ancient age (the 70′s). Modern languages provide better ways to do most things the C preprocessor was (and is) used for (the D programming language has removed the need for the preprocessor with “normal” import statements, support for conditional compilation using static if..

Programming 2012.06.20

Python is Cool (and Perl is not), Especially for C/C++ Programmers

http://www.strombergers.com/python/

Programming 2012.05.29
이전
1
다음
더보기
프로필사진

steloflute

안녕하세요? 김태균의 블로그입니다. (Blog of KIM Taegyoon)

  • 분류 전체보기
    • My Computer Programs
    • My Papers
    • Programming
    • Programming Android
    • Project Euler
    • Unix/Linux
    • Computer
    • Computer Game
    • Artificial Intelligence
    • Network
    • Music
    • Food
    • Medicine
    • Database
    • Finance
    • Manuals
    • Etc
    • Natural Language
    • Try Programming Languages
    • My Settings
    • private
    • Living In A Simulation
    • 게임 기록
    • 남자 치마
    • AI Contents

Tag

Racket, common lisp, javascript, C#, newLISP, ticker, 시계, clojure, haskell, bash, go, IT, KOSPI200, c, 밴드 인 어 박스, c++, 로또, watch, python, Perl,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • SourceForge.net: KIM Taegyoon …
  • Me on Bitbucket
  • User:Stelokim - RoboWiki
  • User KIM Taegyoon - Stack Over…
  • me on GitHub
  • me on musescore
  • Try Paren
  • Try Javascript
  • jsutil
  • Tiny Big Scoops
  • Source code beautifier / hilit…
  • Daum 어학사전
  • 쎄싸's 선물 추천
  • .NET Framework
  • online markdown editor
  • Your IP address, IP geo locati…
  • IT eBooks - Free Download
  • 김윤수의 이상계를 꿈꾸며
  • tistory
  • JSFiddle

티스토리툴바